package com.open.capacity.mapper;

import com.open.capacity.model.BusinessData;
import com.open.capacity.model.LoginModel;
import org.apache.ibatis.annotations.Param;

/**
 * @author: y_022
 * @date: 11:38-2021/6/26
 * @description:
 */
public interface LoginMapper {
    BusinessData login(@Param("loginModel") LoginModel loginModel);

    int findUserByPhones(String phones);

    int findUserByEmails(String emails);

    int findUserByNumber(String number);

    void register(@Param("userModel") BusinessData userModel);


}
